import request from '@/utils/request'
//采集记录管理接口
export function spiderLogQuery(data) {
  //分页列表
  return request({
    method: 'get',
    url: '/spiderLog/query',
    params: data,
  })
}

export function spiderLogQueryById(id) {
  //查询
  return request({
    method: 'get',
    url: '/spiderLog/query/' + id,
  })
}

export function spiderLogDelete(id) {
  //删除
  return request({
    method: 'get',
    url: '/spiderLog/delete/' + id,
  })
}

export function spiderLogDeleteAll(id) {
  //清空采集记录
  return request({
    method: 'get',
    url: '/spiderLog/deleteAll/' + id,
  })
}

export function spiderLogDeleteBatch(data) {
  //批量删除采集记录管理信息
  return request({
    method: 'post',
    url: '/spiderLog/deleteBatch',
    data,
  })
}
